package com.jayam.gas.client.event;

import com.google.gwt.event.shared.GwtEvent;

public class AddOrderEvent extends GwtEvent<AddOrderEventHandler> {
  public static Type<AddOrderEventHandler> TYPE = new Type<AddOrderEventHandler>();
  
  @Override
  public Type<AddOrderEventHandler> getAssociatedType() {
    return TYPE;
  }

  @Override
  protected void dispatch(AddOrderEventHandler handler) {
    handler.onAddOrder(this);
  }
}
